package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.Lakers;
import org.apache.ibatis.annotations.Param;

public interface LakersDao {
    //基于分页插件进行分页查询
    Page<Lakers> selectByConditon(@Param("queryString") String queryString);

    //添加权限
    void insert(Lakers lakers);

    //根据ID删除权限
    void deleteById(@Param("id") Integer id);

    //根据ID查询
    Lakers selectById(@Param("id") Integer id);
    //编辑权限
    void update(Lakers lakers);
}
